home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
9943
/
9943.xpi
/
content
/
options.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-06-05
|
5KB
|
112 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://searchcloudlet/locale/searchcloudlet.dtd" >
<dialog id="stumble_pref_dialog" title="&cloudlet.options.title;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
buttons="accept,cancel"
style="min-width:300px;"
ondialogaccept="return searchcloudlet_options.doOK();"
ondialogcancel="return searchcloudlet_options.doCancel();"
onload="searchcloudlet_options.init()">
<stringbundleset id="stringbundleset">
<stringbundle id="strings" src="chrome://searchcloudlet/locale/cloudlet.properties"/>
</stringbundleset>
<script type="application/x-javascript" src="chrome://searchcloudlet/content/prefman.js"/>
<script type="application/x-javascript" src="options.js"/>
<tabbox id="prefs_tabbox">
<tabs>
<tab id="integrate_tab"
label="&cloudlet.options.integrate;"/>
<tab id="appearance_tab"
label="&cloudlet.options.appearance;"/>
<tab id="actions_tab"
label="&cloudlet.options.actions;"/>
</tabs>
<tabpanels>
<tabpanel id="integrate_panel"
orient="vertical">
<groupbox id="google">
<caption id="google-caption" label="&cloudlet.options.google;"/>
<checkbox id="websearch" label="&cloudlet.options.google.web;" checked="true"/>
<checkbox id="news" label="&cloudlet.options.google.news;" checked="true"/>
<checkbox id="blogsearch" label="&cloudlet.options.google.blogs;" checked="true"/>
<checkbox id="scholar" label="&cloudlet.options.google.scholar;" checked="true"/>
<checkbox id="products" label="&cloudlet.options.google.products;" checked="true"/>
</groupbox>
<groupbox id="yahoo">
<caption id="yahoo-caption" label="&cloudlet.options.yahoo;"/>
<checkbox id="yahoo.web" label="&cloudlet.options.yahoo.web;" checked="true"/>
<checkbox id="yahoo.news" label="&cloudlet.options.yahoo.news;" checked="true"/>
</groupbox>
<groupbox id="twitter">
<caption id="twitter-caption" label="&cloudlet.options.twitter;"/>
<checkbox id="twitter.search" label="&cloudlet.options.twitter.search;" checked="true"/>
<checkbox id="twitter.user.my" label="&cloudlet.options.twitter.user.my;" tooltiptext="&cloudlet.options.twitter.user.my.tooltip;" checked="true"/>
<checkbox id="twitter.user.other" label="&cloudlet.options.twitter.user.other;" tooltiptext="&cloudlet.options.twitter.user.other.tooltip;" checked="true"/>
</groupbox>
</tabpanel>
<tabpanel id="appearance_panel"
orient="vertical">
<hbox align="end">
<label value="&cloudlet.options.maxtags;"/>
<!--<spacer flex="1"/>-->
<textbox id="max-tags" type="number" value="50" min="5" max="100" style="max-width:4em;"/>
</hbox>
<separator orient="horizontal"/>
<label value="&cloudlet.options.fontsize;"/>
<hbox>
<scale id="font-size" value="100" min="50" max="150" flex="1" onchange="return searchcloudlet_options.fontSizeChanged();"/>
<label id="percents" value="100%"/>
</hbox>
<!--<hbox>
<label id="small-tag" style="font-size:12px;" value="Small"/>
<label id="medium-tag" style="font-size:27px;" value="Medium"/>
<label id="large-tag" style="font-size:42px;" value="Large"/>
</hbox>-->
<html:div>
<html:span id="small-tag" style="font-size:12px;" >&cloudlet.options.small; </html:span>
<html:span id="medium-tag" style="font-size:27px;" >&cloudlet.options.medium; </html:span>
<html:span id="large-tag" style="font-size:42px;" >&cloudlet.options.large;</html:span>
</html:div>
<spacer flex="1"/>
<hbox align="end">
<spacer flex="1"/>
<button label="&cloudlet.options.default;" oncommand="return searchcloudlet_options.doDefault();"/>
</hbox>
</tabpanel>
<tabpanel id="actions_tab"
orient="vertical">
<groupbox>
<caption id="hyperlinks-caption" label="&cloudlet.options.hyperlinks;"/>
<checkbox id="doublelinks" label="&cloudlet.options.doublelinks;" checked="true" oncommand="return searchcloudlet_options.doubleLinksChecked();"/>
<hbox>
<separator orient="vertical"/>
<checkbox id="doublelinkscolor" label="&cloudlet.options.doublelinkscolor;" checked="true"/>
</hbox>
<html:div id="doublelinkexample" style="font-size:20px;color:#00c;" onmouseover="return searchcloudlet_options.dlMouseOver(event);" onmouseout="return searchcloudlet_options.dlMouseOut(event);" onclick="return searchcloudlet_options.dlMouseClick(event);">
<html:a id="dl-0" href="#">exam</html:a><html:a id="dl-1" href="#">ple</html:a>
</html:div>
<description>&cloudlet.options.doublelinks.part0;</description>
<description>&cloudlet.options.doublelinks.part1;</description>
<description id="dltext-0">&cloudlet.options.doublelinks.part2;</description>
<description id="dltext-1">&cloudlet.options.doublelinks.part3;</description>
</groupbox>
<groupbox>
<caption id="SCSC-caption" label="&cloudlet.options.SCSC;"/>
<checkbox id="useSCSC" label="&cloudlet.options.useSCSC;" checked="false"/>
</groupbox>
</tabpanel>
</tabpanels>
</tabbox>
</dialog>